import styles from './TopCard.module.less';

export const TopCard = ({name,imgUrl}) =>{
    // console.log("name",name);
    return (
        <>
        <div className={styles['box']}>
            <div className={styles['card']}>
                <div  className={styles['name']}>{name}</div>
                <img src={imgUrl} alt="" />
            </div>
        </div>
        </>
    )
}